/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.improvement.bean;

import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel(value = "评估考核历史实体类", description = "评估考核历史实体类")
public class AssessmentHistory extends BaseEntity {

    @ApiModelProperty(name = "title", value = "标题", required = true, dataType = "String")
    private String title;

    @ApiModelProperty(name = "assessmentType", value = "评估考核类型：0.标准化自评，1.年度评价，2.日常考核", required = true, dataType = "Integer")
    private Integer assessmentType;

    @ApiModelProperty(name = "corpCode", value = "所属公司code", required = true, dataType = "String")
    private String corpCode;

    @ApiModelProperty(name = "corpName", value = "所属公司", required = true, dataType = "String")
    private String corpName;

    @ApiModelProperty(name = "assessmentYear", value = "年份", required = true, dataType = "Integer")
    private Integer assessmentYear;

    @ApiModelProperty(name = "assessmentTimeType", value = "考核时间类型:0年,1季度,2月份", required = true, dataType = "Integer")
    private Integer assessmentTimeType;

    @ApiModelProperty(name = "assessmentTimeValue", value = "考核时间值", required = true, dataType = "Integer")
    private Integer assessmentTimeValue;

    @ApiModelProperty(name = "benchmarkScore", value = "基准分", required = true, dataType = "Double")
    private Double benchmarkScore;

    @ApiModelProperty(name = "deductedScore", value = "扣除分", required = true, dataType = "Double")
    private Double deductedScore;

    @ApiModelProperty(name = "score", value = "得分", required = true, dataType = "Double")
    private Double score;

    @ApiModelProperty(name = "remark", value = "备注",  dataType = "String")
    private String remark;

    @ApiModelProperty(name = "attachment", value = "附件url",  dataType = "String")
    private String attachment;

    @ApiModelProperty(name = "items", value = "扣分项列表",  dataType = "List")
    private List<AssessmentItemHistory> assessmentItemHistoryList;

    @ApiModelProperty(name = "assessmentGrade", value = "评估考核级别：0.集团对公司，1.公司对场站",  dataType = "Integer")
    private Integer assessmentGrade;

    @ApiModelProperty(name = "deptCode", value = "水司code",  dataType = "String")
    private String deptCode;

    @ApiModelProperty(name = "deptName", value = "水司名称",  dataType = "String")
    private String deptName;

    @ApiModelProperty(name = "previewAttachment", value = "预览附件url",  dataType = "String")
    private String previewAttachment;

    @ApiModelProperty(name = "state", value = "状态(0.正常，1.新增审核中,2修改审核中,3废除审核中,4废弃,5草稿)",  dataType = "Integer")
    private Integer state;

    @ApiModelProperty(name = "backupId", value = "备份Id",  dataType = "String")
    private String backupId;

    public String getBackupId() {
        return backupId;
    }

    public void setBackupId(String backupId) {
        this.backupId = backupId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getPreviewAttachment() {
        return previewAttachment;
    }

    public void setPreviewAttachment(String previewAttachment) {
        this.previewAttachment = previewAttachment;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getAssessmentTimeType() {
        return assessmentTimeType;
    }

    public void setAssessmentTimeType(Integer assessmentTimeType) {
        this.assessmentTimeType = assessmentTimeType;
    }


    public Integer getAssessmentGrade() {
        return assessmentGrade;
    }

    public void setAssessmentGrade(Integer assessmentGrade) {
        this.assessmentGrade = assessmentGrade;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Integer getAssessmentTimeValue() {
        return assessmentTimeValue;
    }

    public void setAssessmentTimeValue(Integer assessmentTimeValue) {
        this.assessmentTimeValue = assessmentTimeValue;
    }

    public List<AssessmentItemHistory> getAssessmentItemHistoryList() {
        return assessmentItemHistoryList;
    }

    public void setAssessmentItemHistoryList(List<AssessmentItemHistory> assessmentItemHistoryList) {
        this.assessmentItemHistoryList = assessmentItemHistoryList;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }

    public Integer getAssessmentType() {
        return assessmentType;
    }

    public void setAssessmentType(Integer assessmentType) {
        this.assessmentType = assessmentType;
    }

    public String getCorpCode() {
        return corpCode;
    }

    public void setCorpCode(String corpCode) {
        this.corpCode = corpCode == null ? null : corpCode.trim();
    }

    public Integer getAssessmentYear() {
        return assessmentYear;
    }

    public void setAssessmentYear(Integer assessmentYear) {
        this.assessmentYear = assessmentYear;
    }


    public Double getBenchmarkScore() {
        return benchmarkScore;
    }

    public void setBenchmarkScore(Double benchmarkScore) {
        this.benchmarkScore = benchmarkScore;
    }

    public Double getDeductedScore() {
        return deductedScore;
    }

    public void setDeductedScore(Double deductedScore) {
        this.deductedScore = deductedScore;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment == null ? null : attachment.trim();
    }
}